package com.example.service;

import com.example.domain.Check;

import java.util.List;

public interface CheckService {

    List<Check> showAllCheck();

    List<Check> showMyCheck(Integer uid);

    List<Check> selectCheckByCheckid(Integer checkid);

    List<String> selectCompletetimeById(String rid);

    List<String> selectCompletetime();

    String selectCompletetimeByCheckid(Integer checkid);

    String selectErrorByCheckidRid(String rid,Integer checkid);

    Check selectCheckByCheckidRid(String rid,Integer checkid);

    Boolean startCheck(String rid);

    Boolean startTime(String Time,Integer checkid,Integer change);

    Boolean error(String error,String tips,String rid,String lasttime);

    Boolean setCheckId(Integer checkid,Integer rid);

    Boolean updateError(String error,Integer checkid,String rid);

    Boolean refreshCheck(Integer checkid,Integer uid,String rid,String completetime,String error,String tips);

    Boolean insertNoResourceError(Integer checkid,Integer initial_uid,String trueid,String completetime,String error,String tips);

    Boolean updateNoResourceError(Integer checkid,Integer initial_uid,String trueid,String error,String tips);

    Boolean deleteCheckByCheckid(Integer checkid);

    Boolean deleteCheckChange2(String rid,Integer checkid);

}
